//
//  CYActivityModel.m
//  CaiYun
//
//  Created by 今日信息科技 on 2017/7/4.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import "CYActivityModel.h"

@implementation CYActivityModel
- (instancetype)initWithDic:(NSDictionary *)dict{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (instancetype)getModel:(NSDictionary *)dict{
    return  [[self alloc] initWithDic:dict];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    DeLog(@"key (%@) =  value (%@)", key, value);

}
- (NSString *)getStringWith:(NSArray *)array{
    NSString *startStr  = @"";
    for (NSString *string in array) {
        startStr = [startStr stringByAppendingString:string];
    }
    return startStr;
}
@end
